tests: output with more details when grayscale_to_rgb fails
authorTéo Mazars <teo.mazars@ensimag.fr>
Sun, 4 Aug 2013 18:14:31 +0000 (20:14 +0200)
committerTéo Mazars <teo.mazars@ensimag.fr>
Sun, 4 Aug 2013 18:15:14 +0000 (20:15 +0200)
tests/grayscale_to_rgb.c

index 6658f7fcce4aae347144f2fa00aa3526b7f7786b..7da0c86fa70725711ed8867872318ae43bef5cdb 100644 (file)
@@ -61,7 +61,8 @@ test (void)
     {
       if (rgb_buf[i] != rgb_buf_ref[i])
         {
-          babl_log ("index %i is problematic", i);
+          babl_log ("index %i is problematic : %f instead of %f",
+                    i, rgb_buf[i], rgb_buf_ref[i]);
           OK = 0;
         }
     }